package com.niit.pojo;

import java.util.Date;

public class Orders {
	private int orderId;
	private int orderStatus;
	private Date createTime;
	private Date updateTime;
	private int userId;
	public Orders() {
		super();
	}
	public Orders(int orderId, int orderStatus, Date createTime, Date updateTime, int userId) {
		super();
		this.orderId = orderId;
		this.orderStatus = orderStatus;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.userId = userId;
	}
	public int getOrderId() {
		return orderId;
	}
	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}
	public int getOrderStatus() {
		return orderStatus;
	}
	public void setOrderStatus(int orderStatus) {
		this.orderStatus = orderStatus;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	@Override
	public String toString() {
		return "Orders [orderId=" + orderId + ", orderStatus=" + orderStatus + ", createTime=" + createTime
				+ ", updateTime=" + updateTime + ", userId=" + userId + "]";
	}
	

}
